home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / LINUX / MSDOS_FS.{1O < prev    next >
Text File  |  1999-09-17  |  1KB  |  38 lines

  1. #ifndef _MSDOS_FS_I
  2. #define _MSDOS_FS_I
  3.  
  4. #ifndef _LINUX_PIPE_FS_I_H
  5. #include <linux/pipe_fs_i.h>
  6. #endif
  7.  
  8. /*
  9.  * MS-DOS file system inode data in memory
  10.  */
  11.  
  12. struct msdos_inode_info {
  13.     /*
  14.         UMSDOS manage special file and fifo as normal empty
  15.         msdos file. fifo inode processing conflict with msdos
  16.         processing. So I insert the pipe_inode_info so the
  17.         information does not overlap. This increases the size of
  18.         the msdos_inode_info, but the clear winner here is
  19.         the ext2_inode_info. So it does not change anything to
  20.         the total size of a struct inode.
  21.  
  22.         I have not put it conditional. With the advent of loadable
  23.         file system drivers, it would be very easy to compile
  24.         a MS-DOS FS driver unaware of UMSDOS and then later to
  25.         load a (then incompatible) UMSDOS FS driver.
  26.     */
  27.     struct pipe_inode_info reserved;
  28.     int i_start;    /* first cluster or 0 */
  29.     int i_logstart;    /* logical first cluster */
  30.     int i_attrs;    /* unused attribute bits */
  31.     int i_ctime_ms;    /* unused change time in milliseconds */
  32.     int i_busy;    /* file is either deleted but still open, or
  33.                inconsistent (mkdir) */
  34.     int i_binary;    /* file contains non-text data */
  35. };
  36.  
  37. #endif
  38.